package com.shop.service;

import com.shop.common.SetMeta;
import com.shop.exception.RightException;

public interface RightsService {
    /**
     * 所有权限列表
     * @param type
     * @return
     */
    SetMeta selectRights(String type) throws RightException;

    /**
     * 左侧菜单权限
     * @return
     */
    SetMeta selectLeftRights(Integer rid);
}
